* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  :root {
    /* main color of site */
    --main-color: rgba(38, 38, 43, 1);
    /* secondary color of site */
    --secondary-color: rgba(255, 179, 31, 1);
    /* body color */
    --body-color: rgba(255, 255, 255, 1);
  }
  
  ::-webkit-scrollbar {
    display: none;
  }
  
  #event {
    font-family: Abar;
    position: fixed;
    background-color: var(--secondary-color);
    top: -180px;
    z-index: 100;
    width: 100%;
    transition: 1s;
    opacity: 0;
    padding: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    color: #fff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  #event p {
    text-align: center;
  }
  #event button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    background-color: transparent;
  }
  
  .back-home {
    position: absolute;
    width: 85px;
    height: 80px;
    top: 0;
    right: 0;
    font-weight: 900;
    font-size: 1.2rem;
    z-index: 100;
    display: flex;
    justify-content: center;
    color: #fff;
    background: #ef1551;
  }
  .back-home img {
    width: 35px;
  }
  
  .shiraz-v5 .back-home{
    background-color: #bd990b !important;
  }
  
  body {
    font-family: Abar;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    background-color: var(--body-color);
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  /* container of templates */
  .container {
    margin: auto !important;
    height: 100svh;
    width: 700px;
  }
  .mainMenu {
    width: 100%;
    height: 100%;
  }
  .first-slide {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-direction: column;
    gap: 2em;
  }
  .shiraz-v5 .container{
    position: relative;
  }
  .shiraz-v5 .container #for_blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(3px);
  }
  
  .logo {
    width: 150px;
  }
  .logo img {
    width: 100%;
    object-fit: contain;
  }
  
  #categories {
    display: flex;
    flex-direction: column;
    gap: 0.825em;
    max-height: 382px !important;
  }
  #categories.shiraz-v4 {
    max-height: 436px !important;
  }
  .categories-item {
    background-color: #808080;
    padding: 10px 15px;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    color: #000000;
  }
  
  .shiraz-v5 .categories-item{
    background-color: #083425 !important;
    color: #bd990b !important;
  }
  
  .social-media {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .social-media a {
    width: 48px;
    height: 48px;
    background-color: #808080;
    border-radius: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .social-media a img {
    display: block;
    filter: invert(1);
  }
  
  .shiraz-v5 .social-media a {
    background-color: #083425;
  }
  .shiraz-v5 .social-media a img {
    filter: brightness(0) saturate(100%) invert(62%) sepia(10%) saturate(3522%) hue-rotate(3deg) brightness(83%) contrast(124%);
  }
  
  .second-slide {
    display: flex;
    gap: 10px;
    max-height: 100svh;
  }
  
  .waiter-open-modal-btn:hover {
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
      rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
      rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
      rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
      rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  }
  
  .waiter-open-modal-btn {
    position: absolute;
    width: 85px;
    height: 80px;
    top: 80px;
    right: 0;
    font-size: 12px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #fff;
    background-color: var(--main-color);
    transition: 0.6s;
    outline: none;
    border: none;
    font-family: Abar;
  }
  
  #subCategories {
    max-height: 100svh;
    width: 85px;
    background-color: #ef1551;
    margin-top: 160px;
    position: sticky;
    top: 0;
  
    padding-right: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding-block: 1.5em;
    color: #fff;
    padding-bottom: 100px;
  }
  .subCategories-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    border-radius: 15px;
    padding: 10px 0;
    text-align: center;
  }
  .subCategories-item img {
    width: 36px;
    height: 37px;
    filter: brightness(0) invert(1);
  }
  
  .subCategories-item p {
    font-size: 13px;
    font-weight: 400;
    position: relative;
    z-index: 10;
    width: 95%;
    white-space: pre;
    text-wrap: wrap !important;
    padding: 4px;
  }
  .subCategories-item.active img {
    filter: brightness(0%);
  }
  
  .subCategories-item.active {
    position: relative;
    color: #000;
    background-color: var(--body-color);
  }
  .subCategories-item.active::before,
  .subCategories-item.active::after {
    --border-radius: 1rem;
  
    content: "";
    position: absolute;
    width: var(--border-radius);
    height: var(--border-radius);
    left: 0;
    background-color: #ef1551;
  }
  .subCategories-item.active.en::before,
  .subCategories-item.active.en::after {
    left: 80%;
    transform: scaleX(-1);
  }
  
  .subCategories-item.active::before {
    top: calc(var(--border-radius) * -1);
    border-radius: 0 100vw 0 100vw;
    box-shadow: -10px 10px 0px 10px var(--body-color);
  }
  .subCategories-item.active::after {
    bottom: calc(var(--border-radius) * -1);
    border-radius: 100vw 0 100vw 0;
    box-shadow: -10px -8px 0px 10px var(--body-color);
  }
  
  .shiraz-v5 #subCategories,
  .shiraz-v5 .subCategories-item.active::before,
  .shiraz-v5 .subCategories-item.active::after {
    background-color: #bd990b !important;
  }
  
  #foods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 90svh;
    overflow-x: scroll;
    position: sticky;
    top: 0;
    width: 73%;
    padding-block: 1.4em;
  }
  #foods .item.sub-category-description{
    min-height: 85px;
    max-height: 316px;
    height: unset !important;
    cursor: unset !important;
  }
  #foods .item {
    width: 100%;
    padding: 10px;
    font-size: 0.825rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #808080;
    border-radius: 24px;
    height: 100px;
    cursor: pointer;
  }
  
  .shiraz-v5 #foods .item {
    background-color: #083425 !important;
    color: #ffffff !important;
  }
  
  .food-img {
    width: 65px;
    height: 65px;
  }
  .food-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .item-title p:nth-child(2) {
    color: rgba(255, 255, 255, 1);
  }
  .item-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    font-weight: bold;
  }
  .item-details p{
    color: #ffffff;
  }
  
  /* .item-details > p.non-exist::after {
    content: "";
  }
  .item-details > p::after {
    content: "تومان";
    margin-right: 5px;
  } */
  
  #popup {
    width: 100%;
    height: 100svh;
    position: absolute;
    transition: 1s;
    top: 100svh;
    opacity: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 1);
  }
  #popup-container {
    height: 85svh;
    overflow-y: scroll;
  }
  #popup-container .back {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2000;
    background-color: #6e6e6e94;
    display: flex;
    background: #000;
    border-radius: 100px;
  }
  
  .gallery {
    width: 100%;
    height: 400px;
  }
  
  .gallery .swiper-slide {
    width: 95%;
  }
  
  .gallery .swiper-slide img {
    width: 100%;
    height: 90%;
    object-fit: contain;
  }
  .gallery .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    width: 25px !important;
    height: 5px;
    border-radius: 4px;
  }
  .gallery .swiper-pagination-bullet {
    transition: 0.6s;
    height: 5px;
    width: 5px;
  }
  .title {
    margin-right: 16px;
  }
  .title p:first-child {
    color: #000;
    font-weight: 600;
  }
  .title p:last-child {
    color: rgba(114, 114, 114, 1);
    font-weight: 500;
  }
  .description {
    margin: 12px 16px 24px 16px;
    font-weight: 400;
    font-size: 14px;
    color: rgba(1, 1, 1, 1);
  }
  #desc{
    background-color: var(--main-color);
    padding: 10px 16px;
    text-align: center;
    display: inline-block;
    width: auto;
    margin: 0 auto;
    margin-top: -10px;
    border-radius: 40px;
    margin-bottom: 15px;
    font-size: 15px;
  }
  .shiraz-v5 #desc{
    background-color: #083425 !important;
    color: #bd990b !important;
    font-size: 16px;
  }
  #desc:empty {
    display: none;
  }
  #sizes {
    display: flex;
    justify-content: space-between;
    padding-inline: 16px;
  }
  .size {
    padding: 10px 8px;
    border: 1px solid #111;
    min-width: 98px;
    text-align: center;
    border-radius: 16px;
  }
  .size.active-size {
    background: #ef1551;
    color: #ffffff;
  }
  
  #price-video {
    height: 60px;
    margin-inline: 16px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #price-video div {
    background-color: var(--secondary-color);
    padding: 10px 8px;
    border-radius: 16px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
  }
  #price-video div img {
    width: 24px;
  }
  #price-video p {
    font-size: 24px;
    font-weight: 600;
  }
  #price-video p::after {
    content: "تومان";
    margin-right: 5px;
    font-size: 16px;
    font-weight: 400;
  }
  #video-holder {
    margin-inline: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0;
    transition: 0.6s;
  }
  #video-holder video {
    width: 100%;
    height: 0;
    transition: 0.6s;
    margin-top: 20px;
  }
  
  @media screen and (max-width: 700px) {
    .container {
      margin: auto !important;
      height: 100svh;
      width: 100%;
    }
  }
  
  .note_detail_box_container {
    z-index: 100;
  }
  
  #change-data {
    display: none;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
  }
  .modal-content {
    position: fixed;
    top: 40%;
    right: 33%;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 7px;
    width: 30%;
  }
  div.modal-content div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 110px;
  }
  div.modal-content div p {
    font-family: Abar;
    text-align: center;
  }
  
  @media screen and (max-width: 314px) {
    .modal-content {
      right: 4%;
      width: 92%;
    }
  }
  @media screen and (max-width: 370px) and (min-width: 315px) {
    .modal-content {
      right: 18%;
      width: 65%;
    }
  }
  @media screen and (max-width: 531px) and (min-width: 371px) {
    .modal-content {
      right: 22.5%;
      width: 55%;
    }
  }
  @media screen and (max-width: 1024px) and (min-width: 951px) {
    .modal-content {
      right: 33%;
      width: 34%;
    }
  }
  
  #big-div {
    width: 100%;
    color: white;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
  }
  
  #big-img {
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    min-width: 80%;
    min-height: 80%;
  }
  
  .swiper-wrapper .swiper-slide img {
    cursor: pointer;
  }
  
  div#address, div#club, div#instagram{
    gap: 0px;
  }
  div#club img, div#website img  , div#address img  {
    width: 32px;
  }
  a#earth img {
    width: 24px;
    cursor: pointer;
  }
  #overlay{
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
  }
  #overlay.earth div.modal-content{
    width: 350px;
    position: unset;
    top: unset;
    right: unset;
    background: rgba(255, 255, 255, 0.1); 
    z-index: 1;  
  }
  #overlay.earth div.modal-content div{
    min-height: fit-content !important;
  }
  #overlay.earth div.modal-content #close{
    align-items: baseline;
    padding-right: 7px;
  }
  #overlay.earth div.modal-content #close span{
    cursor: pointer;
  }
  #overlay.earth div.modal-content div.details{
    gap: 27px;
  }
  #overlay.earth .social-media{
    flex-direction: row;
    gap: 30px;
  }
  #overlay.earth .social-media a{
    cursor: pointer;
  }
  #overlay.earth #address{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 18px;
    font-size: 15px;
  }
  .modal-content,
  #overlay.earth .social-media {
    overflow: visible;
  }

  /* base circle button */
  #overlay.earth .social-media a{
    position: relative;            /* for pseudo-elements */
    width: 46px;                   /* outer diameter of the button */
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;                    /* above pseudo-elements */
    text-decoration: none;
    overflow: visible;             /* allow rings outside bounds */
    -webkit-backdrop-filter: none; /* avoid double blur issues */
    background: none !important;
  }

  /* white outer ring */
  #overlay.earth .social-media a::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -38%);
    width: calc(43% + 12px);   /* slightly bigger than button */
    height: calc(43% + 12px);
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgb(56 47 47 / 18%); /* bright thin ring */
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); /* extra pop */
  }

  /* inner dark ring (between outer ring and icon) */
  #overlay.earth .social-media a::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 69%;                 /* smaller ring inside */
    height: 69%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #fff;  /* dark inner ring */
    z-index: 1;
    pointer-events: none;
  }

  /* make sure the icon image stays on top and sized */
  #overlay.earth .social-media a img{
    position: relative;
    z-index: 3;
    width: 25px !important;
    /* height: 25px !important; */
    display: block;
    object-fit: contain;
    filter: none;
  }
  div#address div img{
    width: 25px !important;
  }
  #club img{
    margin-bottom: -1px;
  }
  #website img{
    margin-bottom: -3px;
  }

  @media screen and (min-width:365px) {
    #overlay.earth div.modal-content{
      width: 350px;
    }
  }
  @media screen and (max-width:367px) {
    #overlay.earth div.modal-content{
      width: 290px;
    }
  }